package com.kedacom.freedomLabel.model.bean;

public class Function {

    private String name;

    private String textBackColor;

    private String imageBackColor;

    private boolean isNeedPassword;

    private int imageRes;

    private Class<?> clz;

    public Function(String name, int imageRes, Class<?> clz) {
        this.name = name;
        this.isNeedPassword = false;
        this.textBackColor = "#175a5e";
        this.imageRes = imageRes;
        this.imageBackColor = "#2fb3bf";
        this.clz = clz;
    }

    public Function(boolean isNeedPassword, String name, int imageRes, Class<?> clz) {
        this.name = name;
        this.isNeedPassword = isNeedPassword;
        this.textBackColor = "#175a5e";
        this.imageRes = imageRes;
        this.imageBackColor = "#2fb3bf";
        this.clz = clz;
    }

    public int getImageRes() {
        return imageRes;
    }

    public Class<?> getClz() {
        return clz;
    }

    public String getName() {
        return name;
    }

    public boolean isNeedPassword() {
        return isNeedPassword;
    }

    public void setNeedPassword(boolean needPassword) {
        isNeedPassword = needPassword;
    }

    public String getTextBackColor() {
        return textBackColor;
    }

    public String getImageBackColor() {
        return imageBackColor;
    }
}
